package org.example.service;

import org.example.pojo.Article;
import org.example.pojo.PageBean;

public interface ArticleService {
    void add(Article article);

    PageBean<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);
    //更新服务
    void update(Article article);
    //展示文章信息
    Article findById(Integer id);

    void delete(Integer id);
}
